package com.wzdigit.wms.basic.domain.inventory;

import com.baomidou.mybatisplus.annotation.*;
import com.wzdigit.framework.orm.model.BasicDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Any
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("WMS_TEMP_GOODS")
@KeySequence(value = "WMS_TEMP_GOODS_SEQ", clazz = Integer.class)
public class GoodsTemp extends BasicDomain {
    private static final long serialVersionUID = 1L;
    /**
     * 货品ID
     */
    @ApiModelProperty(value = "货品ID")
    @TableId(value = "GOODS_ID", type = IdType.INPUT)
    private Integer goodsId;
    /**
     * 货品条码
     */
    @ApiModelProperty(value = "货品条码")
    @TableField(value = "GOODS_SN")
    private String goodsSn;
    /**
     * 外包装ID
     */
    @ApiModelProperty(value = "外包装ID")
    @TableField(value = "PKG_ID")
    private Integer pkgId;
    /**
     * 货主，客户主数据中 客户类型=货主，取客户ID
     */
    @ApiModelProperty(value = "货主，客户主数据中 客户类型=货主，取客户ID")
    @TableField(value = "OWNER")
    private Integer owner;
    /**
     * 货品
     */
    @ApiModelProperty(value = "货品")
    @TableField(value = "SKU_ID")
    private Integer skuId;

    /**
     * 货品
     */
    @ApiModelProperty(value = "货品编码")
    @TableField(value = "SKU_CODE")
    private  String skuCode;
    /**
     * 工厂代码(组织)，如5500,5520
     */
    @ApiModelProperty(value = "工厂代码(组织)，如5500,5520")
    @TableField(value = "FACTORY")
    private String factory;
    /**
     * 供应商IKEY
     */
    @ApiModelProperty(value = "供应商IKEY")
    @TableField(value = "VENDOR_ID")
    private Integer vendorId;
    /**
     * 供应商内部的生产批次号
     */
    @ApiModelProperty(value = "供应商内部的生产批次号")
    @TableField(value = "VEN_LOTNO")
    private String venLotno;
    /**
     * 企业内部定义的生产批次号
     */
    @ApiModelProperty(value = "企业内部定义的生产批次号")
    @TableField(value = "PRD_LOT")
    private String prdLot;
    /**
     * 生产工单
     */
    @ApiModelProperty(value = "生产工单")
    @TableField(value = "PRD_WO")
    private String prdWo;
    /**
     * 生产日期
     */
    @ApiModelProperty(value = "生产日期")
    @TableField(value = "PRD_DATE")
    private Date prdDate;
    /**
     * 生产日期
     */
    @ApiModelProperty(value = "生产日期")
    @TableField(value = "EXPIRE_DATE")
    private Date expireDate;
    /**
     * 入库日期
     */
    @ApiModelProperty(value = "入库日期")
    @TableField(value = "STOCK_IN_DATE")
    private Date stockInDate;
    /**
     * 有效期
     */
    @ApiModelProperty(value = "有效期")
    @TableField(value = "VALIDITY_PERIOD")
    private Integer validityPeriod;
    /**
     * DATECODE
     */
    @ApiModelProperty(value = "DATECODE")
    @TableField(value = "DATECODE")
    private String datecode;
    /**
     * 系统通过批次属性生成的批次号
     */
    @ApiModelProperty(value = "系统通过批次属性生成的批次号")
    @TableField(value = "LOTNO")
    private String lotno;
    /**
     * 库存性质(特殊采购性质)，K为寄售 ,E为销售订单,空白为标准
     */
    @ApiModelProperty(value = "库存性质(特殊采购性质)，K为寄售 ,E为销售订单,空白为标准")
    @TableField(value = "INV_ATTR")
    private String invAttr;
    /**
     * 品质状态
     */
    @ApiModelProperty(value = "品质状态")
    @TableField(value = "QA_STATUS")
    private Integer qaStatus;
    /**
     * 销售订单
     */
    @ApiModelProperty(value = "销售订单")
    @TableField(value = "SO_NO")
    private String soNo;
    /**
     * 销售订单行号
     */
    @ApiModelProperty(value = "销售订单行号")
    @TableField(value = "SO_ITEM")
    private String soItem;
    /**
     * 销售订单类型
     */
    @ApiModelProperty(value = "销售订单类型")
    @TableField(value = "SO_TYPE")
    private String soType;
    /**
     * 内外销标识
     */
    @ApiModelProperty(value = "内外销标识")
    @TableField(value = "SELL_FLAG")
    private String sellFlag;
    /**
     * 采购订单
     */
    @ApiModelProperty(value = "采购订单")
    @TableField(value = "PO_NO")
    private String poNo;
    /**
     * 制造工厂
     */
    @ApiModelProperty(value = "制造工厂")
    @TableField(value = "MFG_PLANT")
    private String mfgPlant;
    /**
     * 生产线
     */
    @ApiModelProperty(value = "生产线")
    @TableField(value = "MFG_LINE")
    private String mfgLine;
    /**
     * 送检单号
     */
    @ApiModelProperty(value = "送检单号")
    @TableField(value = "INSP_NO")
    private String inspNo;
    /**
     * 数量
     */
    @ApiModelProperty(value = "数量")
    @TableField(value = "QTY")
    private BigDecimal qty;
    /**
     * 单位
     */
    @ApiModelProperty(value = "单位")
    @TableField(value = "UNIT")
    private String unit;
    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    @TableField(value = "STATUS")
    private Integer status;
    /**
     * 库存地点
     */
    @ApiModelProperty(value = "库存地点")
    @TableField(value = "WHS_ID")
    private Integer whsId;
    /**
     * 存储库位
     */
    @ApiModelProperty(value = "存储库位")
    @TableField(value = "LOC_ID")
    private Integer locId;
    /**
     * 最近一次检验时间
     */
    @ApiModelProperty(value = "最近一次检验时间")
    @TableField(value = "LAST_INSP_TIME")
    private Date lastInspTime;
    /**
     * 下次检验时间
     */
    @ApiModelProperty(value = "下次检验时间")
    @TableField(value = "NEXT_INSP_TIME")
    private Date nextInspTime;
    /**
     * 送检次数
     */
    @ApiModelProperty(value = "送检次数")
    @TableField(value = "INSP_COUNT")
    private Integer inspCount;
    /**
     * 是否冻结
     */
    @ApiModelProperty(value = "是否冻结")
    @TableField(value = "IS_HOLD")
    private Integer isHold;
    /**
     * 是否特采
     */
    @ApiModelProperty(value = "是否特采")
    @TableField(value = "ACCEPT_BY_CONCESSION")
    private Integer acceptByConcession;
    /**
     * 毛重
     */
    @ApiModelProperty(value = "毛重")
    @TableField(value = "GROSS_WEIGHT")
    private BigDecimal grossWeight;
    /**
     * 净重
     */
    @ApiModelProperty(value = "净重")
    @TableField(value = "TARE")
    private BigDecimal tare;
    /**
     * 净重
     */
    @ApiModelProperty(value = "净重")
    @TableField(value = "NET_WEIGHT")
    private BigDecimal netWeight;
    /**
     * 长
     */
    @ApiModelProperty(value = "长")
    @TableField(value = "LENGTH")
    private BigDecimal length;
    /**
     * 宽
     */
    @ApiModelProperty(value = "宽")
    @TableField(value = "WIDTH")
    private BigDecimal width;
    /**
     * 高
     */
    @ApiModelProperty(value = "高")
    @TableField(value = "HEIGHT")
    private BigDecimal height;
    /**
     * 体积
     */
    @ApiModelProperty(value = "体积")
    @TableField(value = "CUBE")
    private BigDecimal cube;
    /**
     * 价格
     */
    @ApiModelProperty(value = "价格")
    @TableField(value = "PRICE")
    private BigDecimal price;
    /**
     * 湿敏等级
     */
    @ApiModelProperty(value = "湿敏等级")
    @TableField(value = "MSL")
    private String msl;
    /**
     * 源货品ID
     */
    @ApiModelProperty(value = "源货品ID")
    @TableField(value = "SOURCE_GOODS_ID")
    private Integer sourceGoodsId;
    /**
     * 是否原包装
     */
    @ApiModelProperty(value = "是否原包装")
    @TableField(value = "IS_ORIGINAL_PACKAGE")
    private Integer isOriginalPackage;
    /**
     * 拆封时间
     */
    @ApiModelProperty(value = "拆封时间")
    @TableField(value = "STRIP_DATE")
    private Date stripDate;
    /**
     * 用户自定义字段1
     */
    @ApiModelProperty(value = "用户自定义字段1")
    @TableField(value = "UDF1")
    private String udf1;
    /**
     * 用户自定义字段2
     */
    @ApiModelProperty(value = "用户自定义字段2")
    @TableField(value = "UDF2")
    private String udf2;
    /**
     * 用户自定义字段3
     */
    @ApiModelProperty(value = "用户自定义字段3")
    @TableField(value = "UDF3")
    private String udf3;
    /**
     * 用户自定义字段4
     */
    @ApiModelProperty(value = "用户自定义字段4")
    @TableField(value = "UDF4")
    private String udf4;
    /**
     * 用户自定义字段5
     */
    @ApiModelProperty(value = "用户自定义字段5")
    @TableField(value = "UDF5")
    private String udf5;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @TableField(value = "COMMENTS")
    private String comments;
}
